package cn.com.xinjinfu.pdoulcProduct.entity;

import java.io.Serializable;
import java.util.List;

/**
 * Created by android-adt on 2016/2/22.
 */
public class HomeListBean implements Serializable {
    private TermTransfers termTransfers;
    private TermBids termBids;
    private Bid bid;
    private int maxNewBidInvestAmount;
    private String msg;
    private int code;

    public int getMaxNewBidInvestAmount() {
        return maxNewBidInvestAmount;
    }

    public void setMaxNewBidInvestAmount(int maxNewBidInvestAmount) {
        this.maxNewBidInvestAmount = maxNewBidInvestAmount;
    }

    public Bid getBid() {
        return bid;
    }

    public void setBid(Bid bid) {
        this.bid = bid;
    }

    public TermTransfers getTermTransfers() {
        return termTransfers;
    }

    public void setTermTransfers(TermTransfers termTransfers) {
        this.termTransfers = termTransfers;
    }

    public TermBids getTermBids() {
        return termBids;
    }

    public void setTermBids(TermBids termBids) {
        this.termBids = termBids;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }


    public static class Bid{
        private String bidTitle;
        private int bidId;
        private double bidApr;
        private int bidPeriod;
        private int bidPeriodUnit;

        public String getBidTitle() {
            return bidTitle;
        }

        public void setBidTitle(String bidTitle) {
            this.bidTitle = bidTitle;
        }

        public int getBidId() {
            return bidId;
        }

        public void setBidId(int bidId) {
            this.bidId = bidId;
        }

        public double getBidApr() {
            return bidApr;
        }

        public void setBidApr(double bidApr) {
            this.bidApr = bidApr;
        }

        public int getBidPeriod() {
            return bidPeriod;
        }

        public void setBidPeriod(int bidPeriod) {
            this.bidPeriod = bidPeriod;
        }

        public int getBidPeriodUnit() {
            return bidPeriodUnit;
        }

        public void setBidPeriodUnit(int bidPeriodUnit) {
            this.bidPeriodUnit = bidPeriodUnit;
        }
    }
    public static class TermBids {
        private int pageSize;
        private int totalPageCount;
        private int currPage;
        private int totalCount;
        private String pageTitle;
        private List<Page> page;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPageCount() {
            return totalPageCount;
        }

        public void setTotalPageCount(int totalPageCount) {
            this.totalPageCount = totalPageCount;
        }

        public int getCurrPage() {
            return currPage;
        }

        public void setCurrPage(int currPage) {
            this.currPage = currPage;
        }

        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public String getPageTitle() {
            return pageTitle;
        }

        public void setPageTitle(String pageTitle) {
            this.pageTitle = pageTitle;
        }

        public List<Page> getPage() {
            return page;
        }

        public void setPage(List<Page> page) {
            this.page = page;
        }

        @Override
        public String toString() {
            return "TermBids{" +
                    "pageSize=" + pageSize +
                    ", totalPageCount=" + totalPageCount +
                    ", currPage=" + currPage +
                    ", totalCount=" + totalCount +
                    ", pageTitle='" + pageTitle + '\'' +
                    ", page=" + page +
                    '}';
        }
    }
    public static class TermTransfers {
        private int pageSize;
        private int totalPageCount;
        private int totalCount;
        private List<Page> page;

        public int getPageSize() {
            return pageSize;
        }

        public void setPageSize(int pageSize) {
            this.pageSize = pageSize;
        }

        public int getTotalPageCount() {
            return totalPageCount;
        }

        public void setTotalPageCount(int totalPageCount) {
            this.totalPageCount = totalPageCount;
        }


        public int getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(int totalCount) {
            this.totalCount = totalCount;
        }

        public List<Page> getPage() {
            return page;
        }

        public void setPage(List<Page> page) {
            this.page = page;
        }

        @Override
        public String toString() {
            return "TermBids{" +
                    "pageSize=" + pageSize +
                    ", totalPageCount=" + totalPageCount +
                    ", totalCount=" + totalCount +
                    ", page=" + page +
                    '}';
        }
    }
}
